<template name="Bottom">
	<view class="bottom">
		<view class="bottom-item" @tap="goHome()">
			<text class="cuIcon-homefill"></text>
			<view class="title">
				网站首页
			</view>
		</view>
		<view class="bottom-item">
			<text class="cuIcon-dianhua"></text>
			<view class="title">
				一键拨号
			</view>
		</view>
		<view class="bottom-item" @tap="goAbout()">
			<text class="cuIcon-locationfill"></text>
			<view class="title">
				关于我们
			</view>
		</view>
		<view class="bottom-item" @tap="goMine()">
			<text class="cuIcon-peoplefill"></text>
			<view class="title">
				我的
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name: "Bottom",
		data() {
			return {
				
			}
		},
		onLoad() {
			
		},
		methods:{
			closeMenu(){
				this.$store.commit('SHOWMENU', false);
			},
			goHome(){
				this.closeMenu();
				uni.navigateTo({
					url: '../../pages/index/index'
				})
			},
			goAbout(){
				this.closeMenu();
				uni.navigateTo({
					url: '../../pages/about/about'
				})
			},
			goMine(){
				this.closeMenu();
				uni.navigateTo({
					url: '../../pages/login/login'
				})
			},
		}
	}
</script>

<style>
	@import url("./index.css");
</style>
